package com.yingjie.yingjieorder.dto;

import com.yingjie.yingjieorder.model.OrderFood;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;

public class SubimtOrderDTO {

    /**
     * 订单总金额
     */
    private BigDecimal totalPrice;

    /**
     * 订单备注
     */
    private String orderDes;

    /**
     * 下单用户指定的做饭时间
     */
    private String cookTime;

    /*
    * 菜品列表
    * */

    ArrayList<OrderFood> orderFoods;


    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getOrderDes() {
        return orderDes;
    }

    public void setOrderDes(String orderDes) {
        this.orderDes = orderDes;
    }

    public String getCookTime() {
        return cookTime;
    }

    public void setCookTime(String cookTime) {
        this.cookTime = cookTime;
    }

    public ArrayList<OrderFood> getOrderFoods() {
        return orderFoods;
    }

    public void setOrderFoods(ArrayList<OrderFood> orderFoods) {
        this.orderFoods = orderFoods;
    }

    @Override
    public String toString() {
        return "SubimtOrderDTO{" +
                "totalPrice=" + totalPrice +
                ", orderDes='" + orderDes + '\'' +
                ", cookTime='" + cookTime + '\'' +
                ", orderFoods=" + orderFoods +
                '}';
    }
}
